Edit Task: SetResourceDetails CapacityType
Description
The CapacityType attribute under EditTask defines the resource usage's capacity type for a specified resource for all of the task's possibilities.
Parameters
Parameter | Description |
---|---|
ResourceName | The parameter is a string of text of the resource that is being defined by the command. |
CapacityType | Options are "NA", "Deplete", "Replenish", "Resilient", "SetEndValue", "ReplenishAtStart", "DepleteAtStop", "StateMode", "WithinRange", "SetStartValue". This value must be compatible with the corresponding resource capacity attributes. |
Examples
Set the resource usage type to WithinRange for all possibilities that use SSR in the FUSEscience task.
PATCH api/task/FUSEscience
Body:
{
"SetResourceDetails" : {
"ResourceName" : "SSR",
"CapacityType" : "WithinRange" }
}